package com.dhcc.core.modules.system.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.service.IBaseService;
import com.dhcc.core.framework.result.node.ZTreeNode;
import com.dhcc.core.modules.system.entity.Position;

/**
 * 职务表数据服务层接口
 * 
 * @ClassName: IPositionService
 * @Description: TODO
 * @author mk
 * @date 2018-08-28 08:52:01
 */
public interface IPositionService  extends IBaseService<Position> {

    List<Position> page(Page<Position> page, Map<String, Object> map);
    
    List<Position> list(Map<String, Object> map);

    Boolean codevalidate(String code);

    List<ZTreeNode> tree();
    
    Position selectByCode(String code);
}
